package com.onefinger.services;

import java.util.List;

import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.onefinger.domain.Request;

@Service
@RemotingDestination(channels = { "my-amf" })
@Transactional
public interface IRequestService {

	
	public List<Request> list();

	public List<Request> listBySessionId( Long sessionId );
	
	@Transactional
	public boolean save( Request request );
	
	@Transactional
	public boolean remove( Request request );

}
